# -*- mode: python -*-

Import("env")

env.Library('platform', [
        'backtrace.cpp',
        'posix_fadvise.cpp',
        'process_id.cpp',
        'random.cpp',
        'strcasestr.cpp',
        ])

env.CppUnitTest('atomic_word_test', 'atomic_word_test.cpp')
env.CppUnitTest('bits_test', 'bits_test.cpp')
env.CppUnitTest('endian_test', 'endian_test.cpp')
env.CppUnitTest('process_id_test', 'process_id_test.cpp', LIBDEPS=['platform'])
env.CppUnitTest('random_test', 'random_test.cpp', LIBDEPS=['platform'])
